#ifndef COLOR_H_
#define COLOR_H_


class File;

//really crap color class, needs work
class Color
{
public:
    /* Default Ctr */
    Color();
    Color(float r, float g, float b, float a = 1.0f);

    /* Set functions */
    void SetAll(float r, float g, float b, float a = 1.0f);
    bool Load(File* f);

    void Apply(bool alpha = false);
    void Neutralise();

    void SetWhite();
    void SetBlack();

public:
    float m_r;
    float m_g;
    float m_b;
    float m_a;
};

#endif